package ch2;

/**
 * Created by 竹韵澜 on 2017/7/16.
 */

//********************************************************************
//  Roses.java       Java Foundations
//
//  Demonstrates the use of escape sequences.
//********************************************************************

public class Roses {
    //-----------------------------------------------------------------
    //  Prints a poem (of sorts) on multiple lines.
    //-----------------------------------------------------------------

    public static void main (String[] args) {
        System.out.println ("Roses are red\b,\b\n\tViolets are blue,\n" +
                "Sugar is sweet,\n\tBut I have\r \"commitment issues\",\n\t" +
                "So I'd rather just be friends\n\tAt this point in our " +
                "relationship.");
    }
}
